package com.github.nuggets.api;


import com.github.nuggets.entity.Account;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @description:
 * @author: wangsj
 * @date: 2022/3/15 7:52 下午
 */
public interface AccountApi {

    @GetMapping("/api/account/{userName}")
    Account findByUserName(@PathVariable("userName") String userName);
}
